*************Notes**************
*All analysis conducted in Stata 14

*************Duration of Genocide and Politicide**************

****Figure 1
lowess stop politicide, adjust jitter(8)

****Table 1
*Model 1
stcox politicide excludedpopulation guerrilla assassination coup democracy c.loggdppc##c.loggdppc, cluster(ccode) 
*Model 2 (and Figure 2A)
stcox politicide excludedpopulation guerrilla assassination coup democracy   c.loggdppc##c.loggdppc neutralintervention protargetintervention , cluster(ccode)
stcurve, hazard at1(politicide=0) at2(politicide=1) 
*Model 3 (and Figure 2B)
stcox mixpoliticide excludedpopulation guerrilla assassination coup democracy  c.loggdppc##c.loggdppc neutralintervention protargetintervention , cluster(ccode) 
stcurve, hazard at1(mixpoliticide=0) at2(mixpoliticide=1) 
*Model 4
stcox politicide mixedkilling excludedpopulation guerrilla assassination coup democracy   c.loggdppc##c.loggdppc neutralintervention protargetintervention , cluster(ccode) 
test politicide mixedkilling

****Table 2
*Model 5 (and Figure 2C)
stcox cpoliticide excludedpopulation guerrilla assassination coup democracy   c.loggdppc##c.loggdppc neutralintervention protargetintervention , cluster(ccode) 
stcurve, hazard at1(cpoliticide=0) at2(cpoliticide=1) 
*Model 6
stcox cpoliticide ncpoliticide excludedpopulation guerrilla assassination coup democracy   c.loggdppc##c.loggdppc neutralintervention protargetintervention , cluster(ccode) 
*Model 7
stcox  i.politicide i. legalwing i.politicide#i.legalwing excludedpopulation guerrilla assassination coup democracy   c.loggdppc##c.loggdppc neutralintervention protargetintervention , cluster(ccode)

****Table 3
*Model 8
set seed 123456789
attnd stop politicide excludedpopulation guerrilla assassination coup democracy loggdppc loggdppc2 neutralintervention protargetintervention , pscore( mypscore ) comsup boot reps(500) dots

